<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>道路门牌系统</title>
    <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport"/>
    <meta content="yes" name="apple-mobile-web-app-capable"/>
    <meta content="black" name="apple-mobile-web-app-status-bar-style"/>
    <meta content="telephone=no" name="format-detection"/>

    <!--css-->
    <link rel="stylesheet" href="/css/ydui.css"/>
    <link rel="stylesheet" href="/css/demo.css"/>
    <link rel="stylesheet" href="/css/style.css"/>
</head>
<body>
<section class="g-flexview">
    <header class="m-navbar"><a href="/weihu" class="navbar-item"><i class="back-ico"></i></a>
        <div class="navbar-center"><span class="navbar-title">门牌更新维护</span></div>
    </header>
    <section class="g-scrollview">
        <div class="m-cell demo-small-pitch">
            <div class="cell-item">
                <div class="cell-left">任务名称</div>
                <div class="cell-right" th:text="${doorPlateTaskDTO.getTask().getTaskName()}"> 西安市新城区环城北路东段</div>
            </div>
            <div class="cell-item">
                <div class="cell-left">班组</div>
                <div class="cell-right" th:text="${doorPlateTaskDTO.getTask().getGroupName()}"> xx班</div>
            </div>
            <div class="cell-item">
                <div class="cell-left">安装时间</div>
                <div class="cell-right"
                     th:text="${#dates.format(doorPlateTaskDTO.getTask().getYujiTime(), 'yyyy-MM-dd')}">
                    2018-05-15 13:50
                </div>
            </div>
            <div class="cell-item">
                <div class="cell-left">已完成/任务数</div>
                <div class="cell-right"
                     th:text="${doorPlateTaskDTO.getFinishNumber()}+'/'+${doorPlateTaskDTO.getTotalNumber()}"> 10/100
                </div>
            </div>
        </div>
        <div class="m-list list-theme4 bodyplr">
            <a th:each="doorPlate,stat:${doorPlateTaskDTO.getDoorPlateList()}"
               th:href="'/weihu/list/'+${doorPlateTaskDTO.getTask().getId()}+'/'+${doorPlate.getId()}" class="list-item">
                <div class="list-mes listicon">
                    <h3 class="list-title">路名/小区：<span th:text="${doorPlate.getPlateName()}">西安市新城区环城北路东段</span></h3>
                    <h3 class="list-title">门牌号：<span th:text="${doorPlate.getPlateNumber()}">10号</span></h3>
                    <div class="list-mes-item">
                        <!--<div class="zhuangtai no-finish"><span class="yiban">安装状态：</span><span th:text="${doorPlate.getStatus()}">未巡检</span></div>-->
                        <div class="zhuangtai no-finish" th:if="${doorPlate.getStatus()} eq '未更新维护'">
                            <span class="yiban">安装状态：</span><span th:text="${doorPlate.getStatus()}">待安装</span>
                        </div>
                        <div class="zhuangtai" th:if="${doorPlate.getStatus()} eq '已更新维护'">
                            <span class="yiban">安装状态：</span><span th:text="${doorPlate.getStatus()}">待安装</span>
                        </div>

                    </div>


                </div>
            </a>

        </div>
    </section>
</section>

<!--js-->
<script src="/js/jquery.min.js"></script>
<script src="/js/ydui.js"></script>
<script src="/js/ydui.flexible.js"></script>
</body>
</html>
